import request from '@/utils/request'

// 查询账号类别列表
export function apiGetNumberClass(data) {
  return request({
    url: 'NumberClass.aspx?action=GetList',
    method: 'post',
    data
  })
}

// 新增一条类别
export function apiInsertNumberClass(data) {
  return request({
    url: 'NumberClass.aspx?action=Insert',
    method: 'post',
    data
  })
}

// 修改一条类别
export function apiUpdateNumberClass(data) {
  return request({
    url: 'NumberClass.aspx?action=Update',
    method: 'post',
    data
  })
}

// 删除一条类别
export function apiDeleteNumberClass(data) {
  return request({
    url: 'NumberClass.aspx?action=Delete',
    method: 'post',
    data
  })
}

// 粘贴批量上传
export function apiPasteUpload(data) {
  return request({
    url: 'NumberData.aspx?action=pasteUpload',
    method: 'post',
    data
  })
}
